﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Client
{
   public class GlobalInfo
    {
       public static MainForm MainForm;
       public static QunYing.Model.UserLoginInfo UserLoginInfo;
       public static DevExpress.LookAndFeel.UserLookAndFeel UserLookAndFeel;
       public static void MsgBoxShow(string info, string title, MessageBoxButtons buttons, MessageBoxIcon messageIcon)
       {
           DevExpress.XtraEditors.XtraMessageBox.Show(UserLookAndFeel, info, title, buttons, messageIcon);
       }

       public static void MsgBoxShowInfo(string info)
       {
           DevExpress.XtraEditors.XtraMessageBox.Show(UserLookAndFeel, info, "信息", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
       }

       public static void MsgBoxShowError(string text)
       {
           DevExpress.XtraEditors.XtraMessageBox.Show(UserLookAndFeel, text, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
       }


       public static bool IsEmployee = false;


       public const int msg_winMessage = 0x400 + 400;
    }
}
